home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="9"
- "COUNT"="5"
- "UIPATH 1"="Appearance\Desktop\Icons\Visible Icons"
- "NAME"="Generic Windows Icons"
- "LANGUAGE"="VBScript"
- "VERSION"="2.10"
- "DESCRIPTION 1"="To show an item on the desktop, activate it. To hide it, deactivate it."
- "DESCRIPTION 2"="In order to activate the changes, it may be necessary to refresh the Desktop or to press the F5 Key."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to Siegfried Burgstedt for his fix!"
- "COMMENT 2"=" "
- "COMMENT 3"="from lockergnome.com:
- "COMMENT 4"="Adam Rao <adam_rao@hotmail.com>: What exactly is a "Recyle Bin"? :)"
- "COMMENT 5"="Pierre Szwarc <szwarc@usa.net>: Its an invisible Recycle Bin (you don't 'C' it) <G>"
-
-
- sPath="HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\"
-
- dim iCurMax
- Dim aryItem()
- Dim aryDesc()
-
-
- Sub Plugin_Initialize
- iCurMax=0
- ReDim aryItem(15)
- ReDim aryDesc(15)
-
- Call AddEntry("Recycle Bin", "{645FF040-5081-101B-9F08-00AA002F954E}")
- Call AddEntry("Printer", "{2227A280-3AEA-1069-A2DE-08002B30309D}")
- Call AddEntry("Control Panel", "{21EC2020-3AEA-1069-A2DD-08002B30309D}")
- Call AddEntry("Scheduled Tasks", "{D6277990-4C6A-11CF-8D87-00AA0060F5BF}")
- Call AddEntry("Outlook/Inbox", "{00020D75-0000-0000-C000-000000000046}")
-
- Call AddEntry("MSN Icon","{88667D10-10F0-11D0-8150-00AA00BF8457}")
- Call AddEntry("MSN Icon (2.x only)","{00028B00-0000-0000-C000-000000000046}")
- Call AddEntry("AOL Desktop Icon","{955B7B84-5308-419c-8ED8-0B9CA3C56985}")
-
- Call AddEntry("Dial-up and Network","{992CFFA0-F557-101A-88EC-00DD010CCC48}")
-
- '{7007ACC7-3202-11D1-AAD2-00805FC1270E} ??? also DialUp?
-
- Call AddEntry("My Bluetooth Places (Widcomm)","{6af09ec9-b429-11d4-a1fb-0090960218cb}")
-
-
-
- for i=0 to iCurMax-1
- s=aryDesc(i)
- Call SetUIElement(i+1,s)
-
- s=sPath & aryItem(i)
- if RegPathExists(s) then
- Call SetUIElementEx(i+1,true)
- end if
- next
- End Sub
-
- Sub AddEntry(Desc,Value)
- aryItem(iCurMax)=Value
- aryDesc(iCurMax)=Desc
-
- iCurMax=iCurMax+1
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- for i=0 to iCurMax-1
- b=GetUIElementEx(i+1)
- s=sPath & aryItem(i)
-
- if b=true then
- if RegValueExists(s & "\@")=false then
- Call RegWriteValue(s & "\@","",1)
- end if
- else
- if RegPathExists(s) then
- if RegValueExists(s & "\Removal Message") then
- Call RegDeleteValue(s & "\Removal Message")
- end if
-
- 'finally delete the path
- Call RegDeletePath(s)
- end if
- end if
- next
-
- '' Call IndicateSettingChange()
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-